package cn.edu.sdjzu.xg.kcsj.security;

public class UserAssRole{
    private int id;
    private User user;
    private Role role;
    public UserAssRole(){}
    public UserAssRole(int id,User user,Role role){
        this.id = id;
        this.user = user;
        this.role = role;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Role getRole() {
        return role;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public void setRole(Role role) {
        this.role = role;
    }
    public String toString() {
        return "UserAssRole{" +
                "id=" + id +
                ", user_id='" + user +
                ", role_id='" + role +
                '}';
    }
}
